package com.tt.dp.command.model;

public class Light {

    private String location;

    public Light(String location){

        this.location = location;
    }

    public void on(){
        System.out.println("light is open , location is " + this.location);
    }

    public void off(){
        System.out.println("light is off , location is " + this.location);
    }
}
